package com.wanger.swa.dto.buildRecord.req.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: wanger
 * @Date: 2024/10/5 21:34
 * @Description:
 */
@Data
@ApiModel
public class BuildColumnDTO implements Serializable {
    private static final long serialVersionUID = 7306555125688567944L;

    @ApiModelProperty("列名称")
    private String name;

    @ApiModelProperty("列表显示")
    private boolean tabularDisplay;

    @ApiModelProperty("详情显示")
    private boolean detailDisplay;

    @ApiModelProperty("添加")
    private boolean append;

    @ApiModelProperty("修改")
    private boolean edit;

    @ApiModelProperty("搜索")
    private boolean search;

    /**
     * 搜索模式
     *
     * @see BuildColumnQueryMode
     */
    @ApiModelProperty("搜索模式")
    private String searchMode;
}
